SRFM\Inc\Form_Submit D

Total Complexity 166
Dependencies 9
Dependents 1
Total lines 1,046
Lines of code 673
Logical lines of code 348
Comment lines 221
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
D
25
57 123
handle_form_entry()
C
27
27 148
send_email()
A
38 10 73
field_unique_validation()
A
44 12 42
prepare_submission_data()
A
50 10 26
recaptcha_error_message()
A
39 6 73
add_from_data_in_header()
S
58 8 12
parse_email_notification_template()
S
52 7 21
validate_hcaptcha_token()
S
49 5 33
validate_turnstile_token()
S
49 5 33
submit_form_permissions_check()
S
52 5 27
srfm_global_sidebar_enabled()
S
59 5 14
srfm_global_update_allowed_block()
S
59 4 14
permissions_check()
S
69 2 6
register_custom_endpoint()
S
64 1 11
recaptcha_error_response()
S
65 1 10
__construct()
S
68 1 7